{{extend "layout_admin.html"}}

{{block css}}
<link href="{{=url_for_static('sb-admin-v2/css/plugins/morris/morris-0.4.3.min.css')}}" rel="stylesheet">
{{end}}

{{block title}}
<i class="fa fa-user fa-fw"></i> 用户统计
{{end}}

{{block content}}
<div class="panel panel-info">
    <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-bar-chart-o fa-fw"></i> 各人 <b><u>创建的BUG</u></b></h3>
    </div>
    <div class="panel-body">
        <div id="morris-create-bug-chart"></div>
    </div>
</div>
{{end}}

{{block js}}
<script src="{{=url_for_static('chujue-js/chujue_validate.js')}}"></script>
<script src="{{=url_for_static('chujue-js/chujue_ajax.js')}}"></script>
<script src="{{=url_for_static('sb-admin-v2/js/plugins/morris/morris.js')}}"></script>
<script src="{{=url_for_static('sb-admin-v2/js/plugins/morris/raphael-2.1.0.min.js')}}"></script>
<script src="{{=url_for_static('views_statistics_admin/user_statistics.js')}}"></script>

<script type="text/javascript">
    $(function(){
        $("#li-statistics").children("ul").addClass("collapse in"); // 当前 menu 不折叠

        init_user_create_bug_chart();
    });
</script>
{{end}}


